﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001031 RID: 4145
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournGetSettleInfoCsReq : IMessage<RogueTournGetSettleInfoCsReq>, IMessage, IEquatable<RogueTournGetSettleInfoCsReq>, IDeepCloneable<RogueTournGetSettleInfoCsReq>, IBufferMessage
	{
		// Token: 0x1700345E RID: 13406
		// (get) Token: 0x0600B95E RID: 47454 RVA: 0x001F3920 File Offset: 0x001F1B20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournGetSettleInfoCsReq> Parser
		{
			get
			{
				return RogueTournGetSettleInfoCsReq._parser;
			}
		}

		// Token: 0x1700345F RID: 13407
		// (get) Token: 0x0600B95F RID: 47455 RVA: 0x001F3927 File Offset: 0x001F1B27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournGetSettleInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003460 RID: 13408
		// (get) Token: 0x0600B960 RID: 47456 RVA: 0x001F3939 File Offset: 0x001F1B39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournGetSettleInfoCsReq.Descriptor;
			}
		}

		// Token: 0x0600B961 RID: 47457 RVA: 0x001F3940 File Offset: 0x001F1B40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetSettleInfoCsReq()
		{
		}

		// Token: 0x0600B962 RID: 47458 RVA: 0x001F3948 File Offset: 0x001F1B48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetSettleInfoCsReq(RogueTournGetSettleInfoCsReq other) : this()
		{
			this.areaId_ = other.areaId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B963 RID: 47459 RVA: 0x001F396D File Offset: 0x001F1B6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetSettleInfoCsReq Clone()
		{
			return new RogueTournGetSettleInfoCsReq(this);
		}

		// Token: 0x17003461 RID: 13409
		// (get) Token: 0x0600B964 RID: 47460 RVA: 0x001F3975 File Offset: 0x001F1B75
		// (set) Token: 0x0600B965 RID: 47461 RVA: 0x001F397D File Offset: 0x001F1B7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AreaId
		{
			get
			{
				return this.areaId_;
			}
			set
			{
				this.areaId_ = value;
			}
		}

		// Token: 0x0600B966 RID: 47462 RVA: 0x001F3986 File Offset: 0x001F1B86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournGetSettleInfoCsReq);
		}

		// Token: 0x0600B967 RID: 47463 RVA: 0x001F3994 File Offset: 0x001F1B94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournGetSettleInfoCsReq other)
		{
			return other != null && (other == this || (this.AreaId == other.AreaId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B968 RID: 47464 RVA: 0x001F39C4 File Offset: 0x001F1BC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AreaId != 0U)
			{
				num ^= this.AreaId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B969 RID: 47465 RVA: 0x001F3A03 File Offset: 0x001F1C03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B96A RID: 47466 RVA: 0x001F3A0B File Offset: 0x001F1C0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B96B RID: 47467 RVA: 0x001F3A14 File Offset: 0x001F1C14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AreaId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.AreaId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B96C RID: 47468 RVA: 0x001F3A48 File Offset: 0x001F1C48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AreaId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AreaId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B96D RID: 47469 RVA: 0x001F3A86 File Offset: 0x001F1C86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournGetSettleInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AreaId != 0U)
			{
				this.AreaId = other.AreaId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B96E RID: 47470 RVA: 0x001F3AB7 File Offset: 0x001F1CB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B96F RID: 47471 RVA: 0x001F3AC0 File Offset: 0x001F1CC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.AreaId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004AA7 RID: 19111
		private static readonly MessageParser<RogueTournGetSettleInfoCsReq> _parser = new MessageParser<RogueTournGetSettleInfoCsReq>(() => new RogueTournGetSettleInfoCsReq());

		// Token: 0x04004AA8 RID: 19112
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004AA9 RID: 19113
		public const int AreaIdFieldNumber = 12;

		// Token: 0x04004AAA RID: 19114
		private uint areaId_;
	}
}
